#ifndef __SUBSYSTEM_MATCH_BLOCK_BEHAVIOR_H__
#define __SUBSYSTEM_MATCH_BLOCK_BEHAVIOR_H__

#include "SubsystemBlockBehavior.hpp"
#include "GameRandom.hpp"

namespace PocketSurvival
{
    class SubsystemFireBlockBehavior;

    // 火柴行为
    class SubsystemMatchBlockBehavior : public SubsystemBlockBehavior
    {
    public:
        SubsystemFireBlockBehavior *fireBlockBehavior;

    public:
        virtual const std::string& getName() const override;
        virtual bool onUse(const Ray3 &ray, ComponentMiner *componentMiner) override;
        virtual void load(const nlohmann::json &json) override;

    public:
        SubsystemMatchBlockBehavior();
    };
}

#endif
